<%@page import="hibari.server.lib.AdminLog"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
    String role = (String) session.getAttribute("role");
    if (role == null) {
        response.sendRedirect("login.jsp");
    }
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Hibari Dashboard</title>
<link rel="stylesheet" type="text/css" href="styles.css" />
<script type="text/javascript" src="jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="common.js"></script>
</head>
<body onload="main()">
	<%=AdminLog.get(session).render(session)%>
	<h2>Weeks</h2>
	<ul>
		<li><a href="EditWeek.jsp">New Week</a>
		</li>
		<li><a href="WeekList.jsp">Manage Weeks</a>
		</li>
	</ul>

	<h2>Trash</h2>
	<ul>
		<li><a href="RemovedWeekList.jsp">Weeks</a>
		</li>
	</ul>
	<form action="/log-in" method="post">
		<input type="hidden" name="id" value="logout"> <input
			type="submit" value="Logout" />
	</form>
</body>
</html>